<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link href='/module/area/chosen.min.css' rel='stylesheet'>
    <link rel="stylesheet" type="text/css" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px">
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="widget-header bg-themeprimary">
                <span class="widget-caption">手机短信管理</span>
            </div>
            <div class="widget-body">
                <div id="registration-form">
                    <form role="form">
                        <div class="form-title">已发短信列表</div>
                        <div class="row">
                            <div class="col-md-12">
                                <div class="buttons-preview" id="toobar">
                                    <a href="javascript:void(0);" class="btn btn-darkorange">批量删除</a> <a class="btn btn-azure js-btn">发送手机短信</a>
                                    <span style="margin-left: 10px">消息类型:</span>
                                    <span>
										<select id="module" name="module" style="width: 150px;border-radius: 0px;display: inline-block;" class="form-control">
										<option value="">全部</option>
										<option value="1">我发送的</option>
										<option value="2">我接收的</option>
										</select>
										</span>
                                    <span style="margin-left: 10px;">发送时间:</span>
                                    <span> <input type="text" class="form-control" id="beginTime" readonly="readonly" style="width: 150px; display: inline-block;" name="beginTime" placeholder="${i18n('system.beginTime')}">
											</span>
                                    <span> - </span>
                                    <span> <input type="text" class="form-control" id="endTime" readonly="readonly" style="width: 150px; display: inline-block;" name="endTime" placeholder="${i18n('system.endTime')}">
											</span>
                                    <span style="margin-left: 10px">
												<a href="javascript:void(0);" class="btn btn-success js-query-but">${i18n('system.search')}</a>
											</span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade bs-example-modal-lg" id="sendMobileSmsModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">发送手机短信</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form" id="form1">
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">内部接收人：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" name="accountId" id="accountId" readonly="readonly" placeholder="内部接收人" opt-id="accountId" onclick="selectUser(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">外部接收人：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" name="outUser" id="outUser" placeholder="外部接收人">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">定时发送：</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="sendTime" id="sendTime" placeholder="定时发送" readonly="readonly">
                        </div>
                        <div class="col-sm-4">
                            注:为空时，实时发送
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">消息内容：</label>
                        <div class="col-sm-9">
                            <textarea rows="5" cols="" class="form-control" id="content" name="content"></textarea>
                        </div>
                    </div>

                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">发送</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/oa/mobilesms.js"></script>
</html>
